Skip to main content

Default Configurations

Here you can find all the default configuration files.

config.yml
globalPrefix: "&8[&#3BEE40L&#45EB39o&#4FE832t&#5AE52Bt&#64E123e&#6EDE1Cr&#78DB15y&8] &7ยป"
announcementInterval: 6000

language-file: messages_en.yml

currency:
name: "Dollar"
symbol: "$"
allowDecimals: false
placeholder: "%vault_eco_balance%"
give_command: "eco give {player} {amount}"
take_command: "eco take {player} {amount}"

lottery:
ticketPrice: 50000.0
prize: 20000.0
maxTicketsPerPlayer: 3
minTicketsToDraw: 15
drawingDelaySeconds: 7200
infiniteSymbol: "โˆž"

minimum-players:
amount: -1
reset: true

database:
type: "sqlite"

mysql:
host: "localhost"
port: 3306
database: "lottery"
username: "root"
password: ""

h2:
file: "lottery.db"

sqlite:
file: "lottery.db"

placeholders:
prefix: "cocolottery"
last_winner:
placeholder: "last_winner"
value: "{value}"
none: "-"
current_prize:
placeholder: "current_prize"
value: "{value}"
none: "-"
next_drawing:
placeholder: "next_drawing"
value: "{value}"
none: "-"
your_tickets:
placeholder: "your_tickets"
value: "{value}"
none: "-"
total_tickets:
placeholder: "total_tickets"
value: "{value}"
none: "-"
gui.yml
gui:
size: 36
title: " &8สŸแดแด›แด›แด‡ส€ส ษขแดœษช"

filler:
material: GRAY_STAINED_GLASS_PANE
name: " "
lore: []
filler_slots: [27, 28, 29, 30, 32, 33, 34, 35]

items:
buy:
slot: 11
material: DIAMOND
name: "&#00FFFFBuy Lottery"
lore:
- ""
- "&fIf you also want to participate"
- "&fin the draws, buy a lottery ticket."
- ""
- "&eLeft-Click &6ยป &7Buy"
buyAmount: 1

status:
slot: 15
material: PAPER
name: "&#08FB22&lSTATUS"
lore:
- ""
- "&8โ€ข &fYour Tickets: &#FFEE00%ptickets%/%maxTickets%"
- "&8โ€ข &fGlobal Tickets: &#FFEE00%total%"
- ""
- "&8โ€ข &fPrize: &2$&#08FB22%prize%"
- "&8โ€ข &fNext lottery: &#FFEE00%next%"
- "&8โ€ข &fLast winner: &#FFEE00%winner%"

close:
slot: 31
material: BARRIER
name: "&#FF0000Close"
lore:
- ""
- "&fYou can close this"
- "&fmenu by clicking here"
- ""
- "&eLeft-Click &6ยป &7Close"
webhook.yml
buy:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "๐ŸŽŸ๏ธ Ticket Purchase"
description: |
**Purchase Details:**
โ€ข Player: `%player%`
โ€ข Tickets Purchased: `%amount%`

โœ… Thank you for your purchase! Best of luck in the lottery.
color: "#00FF00"
footer: "CocoLottery"
image: ""
thumbnail: ""

add:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "โž• Ticket Added"
description: |
**Ticket Addition:**
โ€ข Player: `%player%`
โ€ข Tickets Added: `%amount%`

๐Ÿ”„ Your ticket count has been updated.
color: "#00FF00"
footer: "CocoLottery"
image: ""
thumbnail: ""

remove:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "โž– Ticket Removed"
description: |
**Ticket Removal:**
โ€ข Player: `%player%`
โ€ข Tickets Removed: `%amount%`

โš ๏ธ The ticket count has been adjusted.
color: "#FF0000"
footer: "CocoLottery"
image: ""
thumbnail: ""

reset:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "๐Ÿ”„ Lottery Reset"
description: |
The lottery has been reset to its base state.

๐ŸŽฒ A new round will start shortly.
color: "#FFFF00"
footer: "CocoLottery"
image: ""
thumbnail: ""

draw:
url: "https://discord.com/api/webhooks/URL"
embed:
title: "๐Ÿ† Lottery Draw Result"
description: |
**Draw Result:**
โ€ข Winner: `%winner%`
โ€ข Prize: `%prize%`

๐ŸŽ‰ Congratulations to the winner! Thank you for participating.
color: "#FFD700"
footer: "CocoLottery"
image: ""
thumbnail: ""

preDraw:
- 7200
- 7000
- 3000
- 1200
- 600
- 300
- 120
- 60
- 30
- 15

preDrawEmbed:
url: "https://discord.com/api/webhooks/URL"
title: "โณ Lottery Starting Soon"
description: |
**Pre-Draw Notice:**
Only `%time%` seconds left until the lottery draw begins.

โŒ› Get ready for the big moment!
color: "#FFA500"
footer: "CocoLottery - PreDraw"
image: ""
thumbnail: ""